﻿CREATE FUNCTION [dbo].[RequestStatus_Attr__CanInstallTrackers]
( @TrackerRequestID int = NULL,
	@StatusID int = NULL
)RETURNS bit
AS
BEGIN

IF NOT @TrackerRequestID IS NULL SELECT @StatusID=StatusID FROM t_TrackerRequest WHERE ID = @TrackerRequestID

RETURN dbo.RequestStatus_Attr(@@PROCID,@StatusID)

END



